Leverage the functions written in the other files to create your report:

Alcohol and car accidents

Introduction

According to National Public Radio (NPR), alcohol consumpt ion has been increasing in the United States, and out group wants to explore how this change may be related to the frequency of car accidents. One of the data sets we are using to examine this issue is “Drivers Involved in Fatal Crashes, by State and Blood Alcohol Concentration of the Driver” (source). This data covers the United States, up to the year 2017, and was collected by the Fatality Analysis Reporting System.

  • Write an introductory paragraph explaining the domain/data set (feel free to borrow from the brainstorm part of the assignment)
  • Write a summary paragraph that includes information calculated by your summary information function
  • Render your table and describe pertinent observations found in it
  • Describe the purpose of each chart (e.g., “this chart was intended to show the relationship between…”), render each chart, and describe pertinent observations found in each chart
  • In order to render this information, you’ll need to read in your data in (only) your index.Rmd file, and pass your data to the functions provided in each script.

This bar plot displays the percentage of adults involved in car accident fatalities in the United States sorted by BAC(Blood Alcohol Concentration). The three charts have information at the 0, 0.1-0.7, 0.8 + BAC levels respectively. As can be seen, this chart clearly depicts how the the highest frequencies in adult fatalities were at the 0.0 BAC level and 0.8 + level. This shows that there were more US adults involved in these car accidents when they were legally impaired(0.8+), as compared to intoxicated at a BAC level ranging from 0.1-0.7. Clearly, the most extreme BAC levels have led to some of the highest percentage of adults involved in these car accident fatalities.

The next chart includes multiple graphs of fatal car accident percentage by age and gender accross the United States. This chart intend to show “The relationship between driving under the influence and age/gender in 2012 and 2014.”

From these graphs, we can see that female drivers are less likely to be involved in fatal drunk driving accidents across the United States, while drivers between the ages of 21 and 35 are most likely to be involved in fatal drunk driving accidents. Overall, states like MT, ND, WY, and NM have higher drunk driving death rates, and states like WA, MI and UT have lower death rates. This general trend hasn’t changed from 2012 to 2014.

This third chart was intended to show the relationship between drivers involved in fatal crashes with zero blood alcohol content compared to those who were over the legal limit of 0.08 BAC. This makes an effort to answer, “Is a driver with higher blood alcohol concentration (BAC) more likely to be involved in a crash?” Each point represents a state.

Here, we see that in most states, over 70% of drivers involved in fatal crashes were sober (had blood alcohol content of 0), shown on the right half of the plot. There are a few exceptions, shown on the left half of the plot, where there is a lower percentage of sober drivers in accidents and a higher number of drivers over the legal limit.